From: Andreas Schwab Date: Mon, 15 Jun 2009 21:36:44 +0000 (+0000) Subject: (detect_coding_utf_16): Fix typo counting odd bytes. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~379 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=444510a7b912d8446b060a71c35f3284f6b1c6f7;p=emacs.git (detect_coding_utf_16): Fix typo counting odd bytes. --- diff --git a/src/ChangeLog b/src/ChangeLog index b5cb496942d..575a42c42ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-06-15 Andreas Schwab + + * coding.c (detect_coding_utf_16): Fix typo counting odd bytes. + 2009-06-15 Kenichi Handa * process.c (status_message): Fix previous change. Be sure to diff --git a/src/coding.c b/src/coding.c index aeb2b355493..8c43929693e 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1682,7 +1682,7 @@ detect_coding_utf_16 (coding, detect_info) } if (! o[c2]) { - o[c1] = 1; + o[c2] = 1; o_num++; if (o_num >= 128) break;